.container {
  .nav {
    height: 60px;
    background-color: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    padding-inline: 40px;
    font-size: 20px;
    color: rgba(0, 0, 0, 0.4);
    z-index: 99;
    justify-content: space-between;
  }
  .list-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 20px 40px;
    gap: 20px;
    .list-item {
      border-radius: 10px;
      padding: 1px;
      min-width: 0;
      box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      .img-wrap {
        aspect-ratio: 1.5;
        position: relative;
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          border-top-right-radius: 9px;
          border-top-left-radius: 9px;
        }
        .tz {
          position: absolute;
          bottom: 4px;
          right: 4px;
          span + span {
            margin-left: 4px;
          }
          .time {
            font-size: 12px;
            color: #fff;
            line-height: 16px;
            padding-inline: 4px;
            background-color: rgba(0, 0, 0, 0.5);
            border-radius: 4px;
          }
        }
      }
      .list-title {
        overflow: hidden;
        white-space: nowrap;
        width: 100%;
        text-overflow: ellipsis;
        line-height: 40px;
        padding-inline: 10px;
        span {
          text-decoration: none;
          color: #777777;
        }
      }
    }
  }
  .list-page {
    padding: 0 40px 40px 40px;
  }
}

@media screen and (max-width: 900px) {
  .container {
    .list-container {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      padding: 10px 20px;
      gap: 10px;
      .list-item {
        border-radius: 4px;
        padding: 1px;
        min-width: 0;
        .img-wrap {
          aspect-ratio: 1.5;
          img {
            border-top-right-radius: 3px;
            border-top-left-radius: 3px;
          }
        }
        .list-title {
          overflow: hidden;
          width: 100%;
          text-overflow: ellipsis;
          line-height: 40px;
          span {
            text-decoration: none;
            color: #777777;
          }
        }
      }
    }
  }
}

@media screen and (max-width: 500px) {
  .container {
    .list-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      padding: 10px 20px;
      gap: 10px;
      .list-item {
        border-radius: 4px;
        padding: 1px;
        min-width: 0;
        .img-wrap {
          aspect-ratio: 1.5;
          img {
            border-top-right-radius: 3px;
            border-top-left-radius: 3px;
          }
        }
        .list-title {
          overflow: hidden;
          width: 100%;
          text-overflow: ellipsis;
          line-height: 40px;
          text-decoration: none;
          color: #777777;
        }
      }
    }
  }
}
